package com.team.mapper;

import com.team.entity.Registry;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.team.util.ParamForm;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.annotations.Update;

import java.util.List;

/**
* @author asus
* @description 针对表【registry(挂号单表)】的数据库操作Mapper
* @createDate 2024-07-13 14:39:20
* @Entity com.team.entity.Registry
*/
public interface RegistryMapper extends BaseMapper<Registry> {
    @Update("update registry set status = #{status} where id = #{id}")
    int updateStatus(@Param("id") Long id, @Param("status") Integer status);
}




